home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 11
/
Amoszine 11 (Disk 2 of 2).adf
/
Ben_Wyatt_Source.lha
/
Fuzzy_Screen.AMOS
/
Fuzzy_Screen.amosSourceCode
Wrap
AMOS Source Code
|
2004-04-12
|
951b
|
37 lines
' Fuzzy Screen - like when the tv's bust
' ~~~~~~~~~~~~
' by Ben Wyatt, bwyatt@paston.co.uk
' Looks like *some* tv's when bust or on the wrong channel
' Makes "shadows" in the dots, like when you're almost tuned in
Hide On
' Open a Pal/Ntsc screen
Screen Open 0,320+64+32,256+64+32+56*Ntsc,4,Lowres
Screen Display 0,128-16,37-16,320+32,256+32+56*Ntsc
Flash Off : Curs Off : Cls 0
Palette $222,$0,$666,$DDD
' Some goofy text, not using Centre ;-)
Paper 0 : Pen 3
Locate 15,10 : Print "Hold on a mo..."
Locate 12,12 : Print "Just drawing the fuzz"
' Fill the screen with dots
For X=0 To Screen Width-1
For Y=0 To Screen Height-1
' Turbo users can rem the next line and unrem the one after :)
Plot X,Y,Rnd(3)
'F Plot X,Y,Rnd(3)
Next Y
Next X
Repeat
' Change the colours every now and again
If Rnd(5)=1 Then Shift Up 0,0,1,1
' Go to a random offset
Screen Offset 0,Rnd(64),Rnd(64)
Until Mouse Key>0
Edit